package com.wss.merchant.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wss.merchant.domain.DlNewStore;
import com.wss.merchant.mapper.DlNewStoreMapper;
import com.wss.merchant.service.DlNewStoreService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Map;

/**
 * <p>
 * 店铺表 服务实现类
 * </p>
 *
 * @author wss
 * @since 2021-03-02
 */
@Service
public class DlNewStoreServiceImpl extends ServiceImpl<DlNewStoreMapper, DlNewStore> implements DlNewStoreService {
    @Resource
    private DlNewStoreMapper dlNewStoreMapper;

    @Override
    public Page<Map> communityStore(IPage<Map> page, String community) {

        return dlNewStoreMapper.communityStore(page,community);

    }

    @Override
    public Page<Map> communityStoreName(IPage<Map> page,Map map) {
        return dlNewStoreMapper.communityStoreName(page,map);
    }
}
